﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QLTH_DTO;
using QLTH_DATASSECC;
namespace QLTH_BUSINESS
{
   public class clsMonHocBU
    {
       private readonly  clsMonHocDA mhda;

       public clsMonHocBU()
       {
           mhda = new clsMonHocDA();
       }

       public DataTable DanhSachMonHoc()
       {
           return mhda.DanhSachMonHoc();
       }

       public int ThemMonHoc(clsMonHocDTO mhdto)
       {
           return mhda.ThemMonHoc(mhdto );
       }

       public int XoaMonHoc(clsMonHocDTO mhdto)
       {
           return mhda.XoaMonHoc(mhdto);
       }

       public int CapNhatMonHoc(clsMonHocDTO mhdto)
       {
           return mhda.CapNhatMonHoc(mhdto);
       }

       public string macuoi()
       {
           return mhda.ma_cuoi();
       }
    }
}
